#!/bin/sh

#check if $1 contain $2
function Str1ContainStr2
{
	str1=$1
	str2=$2
	case  $str1 in  
		*$str2*) 
			return 1;;
		*)
			return 0;;
	esac
}


host=$(hostname)
Str1ContainStr2 $host WIN7U-20111221E  #my home PC 
if [ $? -eq 1 ];
then
	alias gglshell="cd /home/Administrator/project/GoogleProject/project-johnny/SetupUbuntuEnviroment/ShellEnviroment"
	alias gglnxs="cd /home/Administrator/project/GoogleProject/project-johnny/NetAXS"
	alias gglpjt="cd /home/Administrator/project/GoogleProject/project-johnny/SmallProjects"
fi
